package com.cmcc.pp.ui.gatewayadministration;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.cmcc.pp.R;
import com.cmcc.pp.base.BActivity;
import com.zrspring.libv2.base.BaseActivity;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by ABC on 2017/12/19.
 * 网关查询结果
 */

public class QueryResultsForGateway extends BActivity {

    @Bind(R.id.lin_results)
    LinearLayout linResults;
    @Bind(R.id.tv_null)
    TextView tvNull;

    @Override
    protected boolean getHasTitle() {
        return true;
    }

    @Override
    public int getContentLayoutId() {
        return R.layout.activity_queryresultsforgateway;
    }

    @Override
    public void initView(Bundle savedInstanceState) {
        getHeader().setTitle(R.string.str_queryresults);
    }

    @Override
    public void loadData() {

    }

    @OnClick({
            R.id.lin_results
    })
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.lin_results:
                openDetails();
                break;
        }
    }

    //网关详情
    private void openDetails() {
        Intent detailsIntent = new Intent(this,GatewayDetailsActivity.class);
        startActivity(detailsIntent);
    }
}
